﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PersonEvent
{
    class Person
    {
        private string firstName;
        private string lastName;
        private string gender;
        private byte age;

        public Person(string firstName, string lastName, string gender, byte age)
        {
            this.firstName = firstName;
            this.lastName = lastName;
            this.gender = gender;
            this.age = age;
        }

        public string FirstName
        {
            get
            {
                return firstName;
            }
            set
            {
                firstName = value;
            }
        }

        public string LastName
        {
            get
            {
                return lastName;
            }
            set
            {
                lastName = value;
            }
        }

        public string Gender
        {
            get
            {
                return gender;
            }
            set
            {
                gender = value;
            }
        }

        public byte Age
        {
            get
            {
                return age;
            }
            set
            {
                age = value;
            }
        }
    }
}
